<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 基本表单</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<form role="form" action="{:url('./updateUse')}" method="post">
    <div class="form-group">
        <input type="hidden" value="{$data.id}" name="id">
        <label >名称</label>
        <input type="text" class="form-control"  name="name">
    </div>
    <div class="form-group">
        <label>权限</label>
        <br>
        <input type="checkbox">选中全部
        <input type="checkbox">展开全部
        <br>
        <input type="checkbox" name="control" value="API接口">API接口
        <br>
        <input type="checkbox" name="control" value="前台">前台
    </div>
    <div class="checkbox">
        <label>
            状态
        </label>
        <input type="radio" checked value="正常" name="state">正常
        <input type="radio" value="隐藏" name="state">隐藏
    </div>
    <button type="submit" class="btn btn-default">保存</button>
</form>

</body>
</html>